//
//  RecommendTalentData.m
//  AutoLayoutAnimation
//
//  Created by LL.F on 16/09/19
//  Copyright (c) __ORGANIZATIONNAME__. All rights reserved.
//

#import "RecommendTalentData.h"
#import "RecommendTalentSecData.h"

@implementation RecommendTalentData

+ (NSDictionary *)objectClassInArray{
    return @{@"data" : [RecommendTalentSecData class]};
}
- (void)setValue:(id)value forKey:(NSString *)key
{
    
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"data"]) {
        NSMutableArray<RecommendTalentSecData *>  *infoArray = [NSMutableArray array];
        for (NSDictionary *dic in value) {
            RecommendTalentSecData *infoData = [RecommendTalentSecData modelWithDic:dic];
            [infoArray addObject:infoData];
        }
        _data = infoArray;
    }
}
@end
